package com.hjc.springbootmovies.service.Impl;

import com.hjc.springbootmovies.entity.ModelMoney;
import com.hjc.springbootmovies.mapper.MappingMoney;
import com.hjc.springbootmovies.service.MoneyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: HJC
 * Date: 2020/1/1
 * Time: 18:44
 * To change this template use File | Settings | File Templates.
 */
@Service
public class MoneyServiceImpl implements MoneyService {
    @Autowired
    private MappingMoney mappingMoney;
    @Override
    public List<ModelMoney> queryAll() {
        return mappingMoney.queryAll();
    }
}
